package com.example.system.model;

import java.io.Serializable;

public class TeacherInfo implements Serializable {
    private Integer id;

    private String tchName;

    private String tchSex;

    private String tchDept;

    private Integer tchPhone;

    private String tchEmail;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTchName() {
        return tchName;
    }

    public void setTchName(String tchName) {
        this.tchName = tchName;
    }

    public String getTchSex() {
        return tchSex;
    }

    public void setTchSex(String tchSex) {
        this.tchSex = tchSex;
    }

    public String getTchDept() {
        return tchDept;
    }

    public void setTchDept(String tchDept) {
        this.tchDept = tchDept;
    }

    public Integer getTchPhone() {
        return tchPhone;
    }

    public void setTchPhone(Integer tchPhone) {
        this.tchPhone = tchPhone;
    }

    public String getTchEmail() {
        return tchEmail;
    }

    public void setTchEmail(String tchEmail) {
        this.tchEmail = tchEmail;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", tchName=").append(tchName);
        sb.append(", tchSex=").append(tchSex);
        sb.append(", tchDept=").append(tchDept);
        sb.append(", tchPhone=").append(tchPhone);
        sb.append(", tchEmail=").append(tchEmail);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}